package com.work.tz.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

public class TaskTmpl {
    private Long tmplId;

    private Integer tmplNo;

    private String tmplName;

    private Integer tmplType;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "yyyy-MM-dd")
    private Date createTime;

    private List<TaskTmplDel> taskTmplDelList;

    public Long getTmplId() {
        return tmplId;
    }

    public void setTmplId(Long tmplId) {
        this.tmplId = tmplId;
    }

    public Integer getTmplNo() {
        return tmplNo;
    }

    public void setTmplNo(Integer tmplNo) {
        this.tmplNo = tmplNo;
    }

    public String getTmplName() {
        return tmplName;
    }

    public void setTmplName(String tmplName) {
        this.tmplName = tmplName == null ? null : tmplName.trim();
    }

    public Integer getTmplType() {
        return tmplType;
    }

    public void setTmplType(Integer tmplType) {
        this.tmplType = tmplType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<TaskTmplDel> getTaskTmplDelList() {
        return taskTmplDelList;
    }

    public void setTaskTmplDelList(List<TaskTmplDel> taskTmplDelList) {
        this.taskTmplDelList = taskTmplDelList;
    }
}